package day015.homework.p7;

import java.util.HashMap;
import java.util.Set;

public class Test {
    public static void main(String[] args) {
        HashMap<String, Double> hm = new HashMap<>();
        hm.put("柳岩", 2100d);
        hm.put("张亮", 1700d);
        hm.put("诸葛亮", 1800d);
        hm.put("灭绝师太", 2600d);
        hm.put("东方不败", 3800d);

        hm.put("柳岩", 2400d);
        Set<String> set = hm.keySet();
        for (String key : set) {
            System.out.print(key + ":" + hm.get(key) + "\t");
        }
    }
}
